curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/addons/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addon_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "monthly"
}
'{
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legacy_order_id": 123,
"invoice_id": 123,
"total": "<string>",
"amount_due": "<string>",
"credit_applied": "<string>",
"status": "<string>",
"invoice_payment_url": "<string>"
}Activate an addon (such as snapshot or backup service) for an existing compute instance. This creates a WHMCS order for the addon and processes payment using available credit or saved payment method. Returns order details including invoice and payment status.
curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/addons/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addon_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "monthly"
}
'{
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legacy_order_id": 123,
"invoice_id": 123,
"total": "<string>",
"amount_due": "<string>",
"credit_applied": "<string>",
"status": "<string>",
"invoice_payment_url": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
A UUID string identifying this Instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Addon activation order created successfully
^-?\d{0,8}(?:\.\d{0,2})?$^-?\d{0,8}(?:\.\d{0,2})?$^-?\d{0,8}(?:\.\d{0,2})?$